/*
 * @Author: LVGRAPE
 * @LastEditors: LVGRAPE
 */
#ifndef DRV_I2S_H
#define DRV_I2S_H

#include <rtthread.h>
#include <rthw.h>
#include "at32f413.h"
#include "board.h"

#ifdef __cplusplus
extern "C" {
#endif

void i2s_dma_init(void);
void i2s_dma_tx(int16_t *data, uint16_t size);

#ifdef __cplusplus
}
#endif

#endif /* end of include guard: DRV_I2S_H */
